package com.hkzhao.reportingsystem.dto;

public enum QueueEnum {
    //超时未审核失败消息通知队列
    QUEUE_REGISTER_CANCLE("reportsystem.doctor.direct","reportsystem.doctor.cancle","reportsystem.doctor.cancle"),
    //超时未审核失败消息通知ttl队列
    QUEUE_REGISTER_CANCLE_TTL("reportsystem.doctor.direct.ttl","reportsystem.doctor.cancle.ttl","reportsystem.doctor.cancle.ttl"),
    //注册流程的消息通知队列
    QUEUE_REGISTER("reportsystem.doctor.direct","reportsystem.doctor.register","reportsystem.doctor.register"),
    //注册流程的消息ttl队列
    QUEUE_REGISTER_TTL("reportsystem.doctor.direct","reportsystem.doctor.register.ttl","reportsystem.doctor.register.ttl"),
    //审核失败消息通知队列
    QUEUE_REGISTER_FAILED("reportsystem.doctor.direct","reportsystem.doctor.verifyFail","reportsystem.doctor.verifyFail"),
    //审核失败消息ttl队列
    QUEUE_REGISTER_FALIED_TTL("reportsystem.doctor.direct","reportsystem.doctor.verifyFail.ttl","reportsystem.doctor.verfyFail.ttl"),
    //审核陈坤消息通知队列
    QUEUE_REGISTER_SUCCCE("reportsystem.doctor.direct","reportsystem.doctor.verifySuccess","reportsystem.doctor.verifySuccess"),
    //审核陈坤消息ttl队列
    QUEUE_REGISTER_SUCCESS_TTL("reportsystem.doctor.direct","reportsystem.doctor.verifySuccess.ttl","reportsystem.doctor.verifySuccess.ttl"),
    //审核案件消息通知队列
    QUEUE_AUTHCASE("reportsystem.doctor.direct","reportsystem.doctor.authCase","reportsystem.doctor.authCase"),
    //审核案件消息ttl队列
    QUEUE_AUTHCASE_TTL("reportsystem.doctor.direct","reportsystem.doctor.authCase.ttl","reportsystem.doctor.authCase.ttl");
    //交换机名字
    private String exchange;
    //队列名称
    private String name;
    //路由键
    private String routeKey;
    QueueEnum(String exchange,String name,String routeKey)
    {
        this.exchange = exchange;
        this.name = name;
        this.routeKey =  routeKey;
    }

    public String getExchange() {
        return exchange;
    }

    public String getRouteKey() {
        return routeKey;
    }

    public String getName() {
        return name;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setRouteKey(String routeKey) {
        this.routeKey = routeKey;
    }
}
